package TaskOne;

//犬类
public class Dog extends Dogs {
    /**
     * 宠物狗
     */
    public String petdog;

    public Dog(){

    }
    public Dog(String petdog){
        this.petdog=petdog;
    }
    public void dog1(){
        System.out.println(this.petdog+"可以卖萌");
    }
    public static void main(String[]args){
        Dog dog=new Dog("柯基");


        dog.dog1();
    }
}
